<%-- 
    Document   : login
    Created on : 20-jun-2012, 0:29:30
    Author     : Chema
--%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login para C&C Tiberium Alliances</title>
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
        <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js" type="text/javascript"></script>
        <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/ui-lightness/jquery-ui.css" rel="stylesheet" type="text/css">
        <script>
             $(document).ready(function () {
                 
                 $('aceptar').button();
                 
             });
        </script>
    </head>
    <body>
        <form:form action="login.do" method="POST" commandName="loginForm">
        <table style="border: 1;">
            <tr>
                <td style="height: 100px; width: 200px;" >
     
                     <span style="position: centre;">
                         Por favor, introduce tus credenciales:
                     </span>
                </td>
            </tr>
            <tr>
                <td style="width: 100px;">
                   Usuario: 
                </td>
                <td>
                    <div>  <form:input path="nombre" /></div> 
                </td>
            </tr>
             <tr>
                 <td style="width: 100px;">
                   Contraseña: 
                </td>
                <td>
                    <div>  <form:input path="pass" /></div> 
                </td>
            </tr>
            <tr>
                <td>
                    <button id="aceptar"><span>Aceptar</span></button>
              
                </td>
            </tr>
        </table>
        </form:form>
    </body>
</html>
